package org.hoyi.configs;

public class HoyiWebConfig {

	/**
	 * 是否允许跨域，默认打开.
	 */
	public static boolean Allow_Cross_Domain = true;
	/**
	 * 允许跨的域
	 */
	public static String Cross_Domain = "*";
	/**
	 * 允许的域名类型.
	 */
	public static String Cross_Domain_TYPE = "all"; // all,* qita,request.getHeader("origin")
	/**
	 * 跨域的方法
	 */
	public static String Cross_Method = "POST, GET, OPTIONS, DELETE";
	/**
	 * 是否允许Crea
	 */
	public static boolean Cross_Allow_Credentials = true;
	
}
